﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AdminSystem.Domain.Entities
{
    /// <summary>
    /// 农场企业
    /// </summary>
    public class FarmEnterprise
    {

        /// <summary>
        /// 主键Id
        /// </summary>
        [Key]
        public int FarmEnterpriseId { get; set; }

        /// <summary>
        /// 养殖场
        /// </summary>
        [StringLength(50)]
        public string Farm { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        [StringLength(50)]
        public string Custodian { get; set; }
        /// <summary>
        /// 存栏数量
        /// </summary>
        public int FeedNum { get; set; }
        /// <summary>
        ///添加人
        /// </summary>
        [StringLength(50)]
        public string Creator { get; set; }
        /// <summary>
        ///添加时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 删除标记
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
